/**
 * 
 */
package com.orange.modules.entity.expert;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 题库表
 * 
 * @author gaogs
 *
 * 2016-11-17
 */
@Table(name="t_auth_exam")
@Entity
public class AuthExam {
	
	private String pid ;//
	private String name ;//试卷名
	private String number ;//试卷编号
	private String taskId ;//专业技能id 
	private String major ;//专业
	private String subject ;//学科  （专业技能为说课时 分学科 上传试题） 
	private String fileName ;//试题名称,
	private String fileUrl;//试题保存路径
	private String createTime ;//
	
	
	private String taskName ;//专业技能名称
	private String subjectName;//科目名称
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getPid() {
		return pid;
	}
	@Column(name = "s_number",length=50)
	public String getNumber() {
		return number;
	}
	@Column(name = "s_name",length=255)
	public String getName() {
		return name;
	}
	@Column(name = "s_task_id",length=50)
	public String getTaskId() {
		return taskId;
	}
	@Column(name = "s_subject",length=255)
	public String getSubject() {
		return subject;
	}
	@Column(name = "s_file_name",length=255)
	public String getFileName() {
		return fileName;
	}
	@Column(name = "s_file_url",length=255)
	public String getFileUrl() {
		return fileUrl;
	}
	@Column(name = "s_major",length=1)
	public String getMajor() {
		return major;
	}
	@Column(name = "s_create_time",length=255)
	public String getCreateTime() {
		return createTime;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	@Transient
	public String getTaskName() {
		return taskName;
	}
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	public void setNumber(String number) {
		this.number = number;
	}

	public void setMajor(String major) {
		this.major = major;
	}
	@Transient
	public String getSubjectName() {
		return subjectName;
	}
	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}
	
	

}
